package com.yuhuihui.common.domain.result;

import java.io.Serializable;

/**
 * HttpClient返回结果
 *
 * @author yuhh
 * @date 2023-05-25 14:53:07
 * @see Serializable
 */
public class HttpClientResult implements Serializable {

    /**
     * 响应状态码
     */
    private Integer code;

    /**
     * 响应数据
     */
    private String content;

    public HttpClientResult(int code, String content){
        this.code = code;
        this.content = content;
    }

    public HttpClientResult(int code){
        this.code = code;
    }

    public HttpClientResult(){}

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
